<?php
namespace app\model\admin\map;

use laytp\BaseModel;

class MapBoard extends BaseModel
{
    protected $name = 'map_board';


    public function content(){
        return $this->belongsToMany(MapContent::class,MapBoardContent::class,"content_id","board_id")->where("status",1);
    }
}